<%@ page language="java" import="java.util.*,cn.com.jsepc.rep.report.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
	String roleid = (String)session.getAttribute("midawa_UserRoles");
	String corpid = (String)session.getAttribute("midawa_Usercorps");
	if (roleid==null){
		roleid = "100001";
	}
	if (corpid==null){
		corpid = "32101";
	}
	String repid=request.getParameter("repid");
	if (repid==null)
	repid = "218";
	String openUrl;
	double r = Math.random();
	StringBuffer urlBuffer = new StringBuffer();
	urlBuffer.append(basePath);
	urlBuffer.append("JarpListener");
	urlBuffer.append("?className=cn.com.jsepc.rep.report.QueryData");
	urlBuffer.append("&methodName=getFillGridCol"); 
	urlBuffer.append("&paramCount=4"); 
	urlBuffer.append("&param_0="+repid+"&param_1=0&param_2="+corpid+"&param_3="+r); 
	openUrl = urlBuffer.toString();
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
	<script>
        var basePath = '<%=basePath%>';
        var repid = '<%=repid%>';
        var corpid = '<%=corpid%>';
    </script>
    
    <title>数据查询</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
    <link rel="stylesheet" type="text/css" href="../ext3/resources/css/ext-all.css">
	<link rel="stylesheet" type="text/css" href="css/grid-examples.css" />
	<script type="text/javascript" src="../ext3/adapter/ext/ext-base.js"></script>
    <script type="text/javascript" src="../ext3/ext-all.js"></script>
	<script type="text/javascript" src="../ext3/ext-lang-zh_CN.js"></script>
	<script type="text/javascript">
	Ext.BLANK_IMAGE_URL = '../ext3/resources/images/default/s.gif';
	Ext.SSL_SECURE_URL= '../ext3/resources/images/default/s.gif';
	</script>
	<script type="text/javascript" src="../js/TreeCheckNodeUI.js"></script>
	<script type="text/javascript" src="../js/ColumnNodeUI.js"></script>
	<script type="text/javascript" src="js/SessionProvider.js"></script>
    <script language="javascript" src="../js/XMLHttpRequest.js" type="text/javascript"></script>
    <script type="text/javascript" src=<%=openUrl %>></script>
    <script type="text/javascript" src="js/data_win.js"></script>
  </head>
 
  <body>
      
  </body>
</html>
